//
//  EFAPjtDetailHView.m
//  efairy
//
//  Created by XiangDongMBP on 2017/8/14.
//  Copyright © 2017年 East. All rights reserved.
//

#import "EFAPjtDetailHView.h"

@implementation EFAPjtDetailHView

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.contentView.backgroundColor = [UIColor whiteColor];
    self.backgroundView.backgroundColor = [UIColor whiteColor];
    self.backgroundColor = [UIColor whiteColor];
    [self.managerBtn addTarget:self action:@selector(managerBtnTapped:) forControlEvents:UIControlEventTouchUpInside];
}

- (void)managerBtnTapped:(UIButton *)btn {
    if ([self.delegate respondsToSelector:@selector(pjtDetailHView:section:managerBtnTapped:)]) {
        [self.delegate pjtDetailHView:self section:self.section managerBtnTapped:btn];
    }
}

- (void)setBtnTitle:(NSString *)btnTitle {
    _btnTitle = [btnTitle copy];
    
//    self.contentView.backgroundColor = [UIColor whiteColor];
    [self.managerBtn setTitle:btnTitle forState:UIControlStateNormal];
}

@end
